﻿using QLHS.DataLayer;
using QLHS.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QLHS.BusLayer
{
    public class GiaoVienBUS
    {
        public GiaoVienDAO gvDAO = new GiaoVienDAO();
        public void LoadAll()
        {
            gvDAO.LoadAll();
        }

        public void Delete(GiaoVienDTO gvDTO)
        {
            gvDAO.Delete(gvDTO);
        }

        public void Insert(GiaoVienDTO gvDTO)
        {
            gvDAO.Insert(gvDTO);
        }


        public void Update(GiaoVienDTO gvDTO)
        {
            gvDAO.Update(gvDTO);
        }

    }
}
